set(LLVM_LINK_COMPONENTS
  Support
  Core
  )

add_llvm_unittest(SupportTests
  AlignOfTest.cpp
  AllocatorTest.cpp
  ArrayRecyclerTest.cpp
  BlockFrequencyTest.cpp
  Casting.cpp
  CommandLineTest.cpp
  CompressionTest.cpp
  ConstantRangeTest.cpp
  DataExtractorTest.cpp
  EndianTest.cpp
  ErrorOrTest.cpp
  FileOutputBufferTest.cpp
  IntegersSubsetTest.cpp
  LeakDetectorTest.cpp
  ManagedStatic.cpp
  MathExtrasTest.cpp
  MemoryBufferTest.cpp
  MemoryTest.cpp
  Path.cpp
  ProcessTest.cpp
  ProgramTest.cpp
  RegexTest.cpp
  SwapByteOrderTest.cpp
  TimeValue.cpp
  ValueHandleTest.cpp
  YAMLIOTest.cpp
  YAMLParserTest.cpp
  formatted_raw_ostream_test.cpp
  raw_ostream_test.cpp
  )
